package murraco.repository;

import murraco.model.Bicycle;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface BicycleRepository extends JpaRepository<Bicycle, String> {

    Optional<Bicycle> findByPileNum(String pileNum);

    Optional<Bicycle> findByBicycleNum(String bicycleNum);
}
